package oop2;

/**
 * @author oldliu
 * @since 1.0
 */
//小轿车
public class Car {
    String serialNo;//车牌
    String brand;//
    public Car(String s,String b){
        this.serialNo=s;
        this.brand=b;
    }
    public void show(){
        System.out.println("轿车的牌子是"+brand+"，车牌是"+serialNo);
    }
}
